export interface categories {
    categories_id: number;
    categories_title: string;
}

export interface tag {
    tag_id: number;
    tag_title: string;
}

export interface comment {
    [key: string]: any;
    comment_id: number;
    comment_text: string;
    comment_time: number;
    comment_father_id: number;
    article_id: number;
    comment_reply_id: number;
    user_id: number;
    user_name: string;
    user_img: string;
    user_reply_id: number;
    user_reply_name: string;
    comment_children: comment[]
}

export interface Article {
    article_id: number;
    article_user: number;
    article_title: string;
    article_time: number;
    article_text: string;
    article_backimg: string;
    article_view: number;
    article_comment: comment[];
    categories_id: categories[];
    tag_id: tag[];
}
//标签
export interface Articlelabel{
    article_id: number;
    article_user: number;
    article_title: string;
    article_time: number;
    article_text: string; 
    article_backimg: string;
    article_view: number;
    categories_id: string;
    tag_id: string;
 }
